/**
 * 查询列表接口
 * @param name
 * @returns {*}
 * @author 千锋健哥
 */
const findTenantPage = (params) => {
  return $axios({
    url: managerGateway + '/user/tenant/list',
    method: 'post',
    data:{...params}
  })
};

/**
 * 审核通过
 * @author 千锋健哥
 */
const checkYes = (id) =>{
  return $axios({
    url: managerGateway + '/user/tenant/checkyes/id/'+id,
    method:'get'
  });
};


/**
 * 审核不通过
 * @author 千锋健哥
 */
const checkNo = (id) => {
  return $axios({
    url: managerGateway + '/user/tenant/checkno/id/'+id,
    method: 'get'
  })
}


/**
 * 账户启用
 * @author 千锋健哥
 */
const open = (id) => {
  return $axios({
    url: managerGateway + '/user/tenant/open/id/'+id,
    method: 'get'
  })
}

/**
 * 账户禁用
 * @author 千锋健哥
 */
const close = (id) => {
  return $axios({
    url: managerGateway + '/user/tenant/close/id/'+id,
    method: 'get'
  })
}

